<?php
/**
 * User: yuesir
 * Date: 2016/4/27
 * Time: 22:45
 */
namespace Lib;
interface IDatabase {
    function connect($host, $user, $password, $dbname);
    function query($sql);
    function close();
}